package com.twu.biblioteca;

public class Movie extends Item {
    private int yearReleased;
    private String director;
    private Rating rating;

    public Movie(String title, int yearReleased, String director, Rating rating) {
        super(title);
        this.yearReleased = yearReleased;
        this.director = director;
        this.rating = rating;
    }

    public int getYearReleased() {
        return this.yearReleased;
    }

    public String getDirector() {
        return this.director;
    }

    public Rating getRating() {
        return this.rating;
    }
}
